package net.qhzw.admin.mapper;

import net.qhzw.admin.entity.PersonnelFacinfo;
import net.qhzw.admin.pojo.PersonnelFacinfoVo;
import net.qhzw.admin.pojo.PersonnelFacinfoVo2;
import net.qhzw.admin.query.PersonnelFacinfoQuery;

import java.util.List;

public interface PersonnelFacinfoMapper {

    int deleteByPrimaryKey(String id);

    int insert(PersonnelFacinfo record);

    int insertSelective(PersonnelFacinfo record);

    PersonnelFacinfo selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(PersonnelFacinfo record);

    int updateByPrimaryKey(PersonnelFacinfo record);


    /****
     * 查询教职信息列表
     * @param query
     * @return
     */
    List<PersonnelFacinfoVo> selectList(PersonnelFacinfoQuery query);


    /***
     * 根据id查询教职信息
     * @param id
     * @return
     */
    PersonnelFacinfoVo2 selectPersonnelFacinfo(String id);
}
